/*
 * marker.h
 *
 *  Created on: Jul 28, 2010
 *      Author: Pierre Lindenbaum PhD
 *              plindenbaum@yahoo.fr
 *              http://plindenbaum.blogspot.com
 *              
 */
#ifndef TRANS_CHROM_H
#define TRANS_CHROM_H
#include <iostream>
#include <string>

class Chromosome
    {
    private:
	    std::string _name;
    public:
	    Chromosome(std::string name):_name(name)
		{
		}

	    const char* name() const
		{
		return _name.c_str();
		}


    friend  std::ostream& operator << (std::ostream& out,const Chromosome& o);
    };


std::ostream& operator << (std::ostream& out,const Chromosome& o)
    {
    out << o.name();
    return out;
    }

typedef Chromosome* ChromosomePtr;

#endif
